<?php
/* @var $this CompanyController */
/* @var $model Company */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'网铺模板'=>array($this->pre_module_url.'/cmpTemplates/admin'),
	'网铺管理'=>array($this->pre_module_url.'/companyCard/admin'),
);

?>
 <div class="pro_filter c_f">
	<?php $form=$this->beginWidget('CActiveForm', array(
		'action'=>Yii::app()->createUrl($this->route),
		'method'=>'get',
	)); ?>
	<label>状态：</label>
	<?php echo $form->dropDownList($model,'zoa_type',CompanyCard::model()->getZoaType(),array('class'=>'s_ipt w_120','prompt'=>'选择全部'))?>
	<label>所属行业：</label>
	<?php echo $form->dropDownList($model,'category_top',Category::model()->loadTopList(),array('class'=>'s_ipt w_120','prompt'=>'选择全部'))?>
	<label>会员名称：</label>
	<?php echo $form->textField($model,'zm_name',array('class'=>'t_ipt w_250','empty'=>'输入用户名或网铺名称'))?>
	
	<button class="mem_bgx mem_btn01" type="submit" name="">查找</button>
	<?php $this->endWidget(); ?>
</div>

 <table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<th width="" class="pl15">会员名称</th>
		<th width="18%">店铺类型</th>
		<th width="15%">申请时间</th>
		<th width="15%">申请时间</th>
		<th width="15%">状态</th> 
		<th width="17%">操作</th>                                                    
	</tr>
</table>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$model->search(),
	'itemView'=>'_view',
	'selectAll'=>array('ids[]','id[]'),
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
	'artLink'=>array(
			//批量删除
			array(Yii::t('adm','Delete All'),$this->pre_module_url.$this->pre_module_url.'/delete','确认推荐选中店铺！'),
	),
)); ?>
